package com.mo.mapper;

import com.mo.common.Result;
import com.mo.entity.Menu;
import com.mo.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【sys_role】的数据库操作Mapper
 * @createDate 2025-01-07 13:40:59
 * @Entity com.mo.entity.Role
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    List<Menu> getMenuByRoleId(@Param("roleId") int roleId);
}




